package com.jit.monitor.model.response;

import java.util.List;

/**
 * @author crazyZhangxl on 2018/12/21.
 * Describe:
 */
public class MainResponse {

    /**
     * camera : {"id":"c58945548","name":"c58945548","ip":null,"state":"stop"}
     * frameInfo : {"id":"fd319e3c-384e-466d-acb1-fbdf0392d4f1","cameraId":"c58945548","image":"http://223.2.197.246:8088/videoDynDetection/2018122720195928246604.png","createTime":"2018-12-27 20:19:58"}
     * objTypeOutList : [{"objType":"chair","typeNum":2}]
     */

    private CameraBean camera;
    private FrameInfoBean frameInfo;
    private List<ObjTypeOutListBean> objTypeOutList;

    public CameraBean getCamera() {
        return camera;
    }

    public void setCamera(CameraBean camera) {
        this.camera = camera;
    }

    public FrameInfoBean getFrameInfo() {
        return frameInfo;
    }

    public void setFrameInfo(FrameInfoBean frameInfo) {
        this.frameInfo = frameInfo;
    }

    public List<ObjTypeOutListBean> getObjTypeOutList() {
        return objTypeOutList;
    }

    public void setObjTypeOutList(List<ObjTypeOutListBean> objTypeOutList) {
        this.objTypeOutList = objTypeOutList;
    }

    public static class CameraBean {
        /**
         * id : c58945548
         * name : c58945548
         * ip : null
         * state : stop
         */

        private String id;
        private String name;
        private String ip;
        private String state;
        private String enableNotification;
        private String ledFlag;

        public String getEnableNotification() {
            return enableNotification;
        }

        public void setEnableNotification(String enableNotification) {
            this.enableNotification = enableNotification;
        }

        public String getLedFlag() {
            return ledFlag;
        }

        public void setLedFlag(String ledFlag) {
            this.ledFlag = ledFlag;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getIp() {
            return ip;
        }

        public void setIp(String ip) {
            this.ip = ip;
        }

        public String getState() {
            return state;
        }

        public void setState(String state) {
            this.state = state;
        }
    }

    public static class FrameInfoBean {
        /**
         * id : fd319e3c-384e-466d-acb1-fbdf0392d4f1
         * cameraId : c58945548
         * image : http://223.2.197.246:8088/videoDynDetection/2018122720195928246604.png
         * createTime : 2018-12-27 20:19:58
         */

        private String id;
        private String cameraId;
        private String image;
        private String createTime;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getCameraId() {
            return cameraId;
        }

        public void setCameraId(String cameraId) {
            this.cameraId = cameraId;
        }

        public String getImage() {
            return image;
        }

        public void setImage(String image) {
            this.image = image;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }
    }

    public static class ObjTypeOutListBean {
        /**
         * objType : chair
         * typeNum : 2
         */

        private String objType;
        private int typeNum;

        public String getObjType() {
            return objType;
        }

        public void setObjType(String objType) {
            this.objType = objType;
        }

        public int getTypeNum() {
            return typeNum;
        }

        public void setTypeNum(int typeNum) {
            this.typeNum = typeNum;
        }
    }
}
